package cn.wolfcode.p2p.base.query;

import cn.wolfcode.p2p.util.StringUtil;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
public class VideoAuthQueryObject extends AuthQueryObject {
    /**
     * 审核人id
     */
    private Long auditorId;

    private String username;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date orderDate;


    //去空
    public String getUsername() {
        return StringUtil.emptyString(username) ? username : null;
    }

}
